using System;
using System.Collections.Generic;
using System.Text;
using My.IdlConverter.Core.Filters;

namespace My.IdlConverter.Com
{
    public class ComFilterRule : IFilterRule
    {
        public string Filter(string source)
        {
            if (source == null)
                throw new ArgumentNullException("The fiter source should no be empty.");
            if (source.Equals("Font"))
            {
                return (source.Replace("Font","Font_"));
            }

            return source;
        }
    }
}
